Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/int testing mobile #122

Closed
wants to merge 116 commits into from
Closed

Feat/int testing mobile #122

wants to merge 116 commits into from

Conversation

u21631532
Copy link
Contributor

Description

This PR implements integration tests for various components and screens of the Occupi mobile app. The tests cover navigation flows, API interactions, and component rendering across multiple features including Login, Booking, Dashboard, Profile, and Office management.

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

The following integration tests have been added and all pass successfully:

  • Login flow (SplashScreen to Welcome, Onboarding, Login, Signup)
  • Booking flow (Room booking, View bookings, Check-in, Cancellation)
  • Dashboard functionality (Occupancy updates, Check-in/out toggle)
  • Profile, Settings, and FAQ navigation
  • Office and Booking details flow
  • ThemedText component rendering

All tests were run using Jest and passed locally.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Rethakgetse-Manaka and others added 30 commits June 3, 2024 14:50
…ative/Libraries/Animated/NativeAnimatedHelper
…setup for mocking react-native-reanimated and react-native/Libraries/Animated/NativeAnimatedHelper
…act-native-reanimated, and @gluestack-ui/themed
…native-gesture-handler, and react-native-reanimated
…-storage, @react-navigation/native, react-native-gesture-handler, react-native-reanimated, @react-navigation/stack, and react-native-safe-area-context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants